package com.njtoyo.taxi.admin.service.business.driver;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mongo.entity.secondary.AdminDeductDriverScoreLogMongo;
import com.njtoyo.taxi.admin.rest.presenter.business.driver.ScoreDeductingPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.ScoreDeductingCreateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.ScoreDeductingLogQueryWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.ScoreDeductingQueryWrapper;
import com.njtoyo.taxi.entity.backend.AdminUser;
import com.taxi.entity.common.RestResult;
import org.springframework.data.domain.PageImpl;


public interface DriverScoreDeductingService {

    RestResult<Page<ScoreDeductingPresenter>> getScoreDeductingList(AdminUser adminUser, ScoreDeductingQueryWrapper wrapper);

    RestResult<ScoreDeductingPresenter> getScoreDeducting(Long id);

    RestResult scoreDeducting(AdminUser adminUser, ScoreDeductingCreateWrapper wrapper);

    RestResult<PageImpl<AdminDeductDriverScoreLogMongo>> scoreDeductingLog(ScoreDeductingLogQueryWrapper wrapper);
}
